package com.zerdoor.service.impl;

import com.zerdoor.dao.HelpDao;
import com.zerdoor.service.HelpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaoji on 2014/11/14.
 */
@Service
public class HelpServiceImpl implements HelpService {

    @Autowired
    private HelpDao helpDao;

    @Override
    public List<Map<String, Object>> getHelpList(Integer type) {
        return helpDao.getHelpList(type);
    }

    @Override
    public Map<String, Object> getHelpContent(Integer type) {
        return helpDao.getHelpContent(type);
    }
}
